using Newtonsoft.Json;
using SqlSugar;
using System;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    ///  账期调整申请 查询权限表
    /// </summary>

    public class AccountPeriodAdjustmentApplicationAuth
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string WorkNumber { get; set; }

        /// <summary>
        /// 授权的查询项 一个Json字符串 {Area:"逗号隔开",IsAreaAll:false,Company:"逗号隔开",IsCompanyAll:""}
        /// </summary>
        public string AuthOption { get; set; }

        /// <summary>
        /// 1：管理员-查询所有 2：二级权限，查询AuthOption开放的选项
        /// </summary>
        public int RoleType { get; set; }

        /// <summary>
        /// 1有效 0无效
        /// </summary>
        public int Status { get; set; }
    }
}